//
//  HKHeaderCellViewModel.m
//  KSBridgeDesign
//
//  Created by huzhaoke on 2021/4/24.
//

#import "HKHeaderCellViewModel.h"
#import "HKHeaderCellTableViewCell.h"
#import "HKCommonDefine.h"
#import "HKUser.h"

@implementation HKHeaderCellViewModel

- (instancetype)init {
    if (self = [super init]) {
        self.cellClass = [HKHeaderCellTableViewCell class];
        self.cellHeight = [HKHeaderCellTableViewCell cellHeightWithContent:nil];
        WS
        [self setRender:^(__kindof HKListCellModel * _Nonnull cellModel, id  _Nonnull cell) {
            SS
            HKHeaderCellTableViewCell *tbCell = KSSAFE_CAST(cell, HKHeaderCellTableViewCell);
            tbCell.delegate = self;
            [tbCell updateContent:nil];
        }];
    }
    return self;
}

- (void)headerCellTableViewCell:(HKHeaderCellTableViewCell *)cell
          didTapHeaderImageView:(UIImageView *)headerImageView {

}

@end
